package com.exception;


public class MemberCodeMsg extends CodeMsg{
    public static final MemberCodeMsg PHONE_ERROR = new MemberCodeMsg(500100,"手机号不可为空");
    public static final MemberCodeMsg NICKNAME_ERROR = new MemberCodeMsg(500100,"昵称不可为空");
    public static final MemberCodeMsg PASSWORD_ERROR = new MemberCodeMsg(500100,"密码不可为空");
    public static final MemberCodeMsg REPASSWORD_ERROR = new MemberCodeMsg(500100,"确认密码不可为空");
    public static final MemberCodeMsg PASSWORD_EQUAL_ERROR = new MemberCodeMsg(500100,"两次输入的密码不一致");
    public static final MemberCodeMsg HAS_REGIST_ERROR = new MemberCodeMsg(500100,"该手机号码已经被注册");

    public MemberCodeMsg(int code, String msg) {
        super(code, msg);
    }
}
